# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class TaobaoCategoryItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass

class ShopCategoryItem(scrapy.Item):
    '''
    店铺分类信息
    '''
    shop_id = scrapy.Field()
    # title
    title = scrapy.Field()
    # 宝贝连接
    href = scrapy.Field()
    # 单价
    price = scrapy.Field()
    # 销售量
    sales = scrapy.Field()
    # 评价量
    evaluation_num = scrapy.Field()
    # cat_id
    cat_id = scrapy.Field()

class ShopMainCategory(scrapy.Item):
    '''
    店铺信息
    '''
    # 店铺id
    shop_id = scrapy.Field()
    # 店铺主营类目
    main_category = scrapy.Field()
    # 店铺类型: b店或c店
    type = scrapy.Field()